package org.jeecg.modules.demo.food.service;

import java.math.BigDecimal;
import java.util.List;

import org.apache.ibatis.annotations.Select;
import org.jeecg.modules.demo.compages.entity.MaterialCompages;
import org.jeecg.modules.demo.food.entity.Material;
import org.springframework.data.repository.query.Param;

import com.baomidou.mybatisplus.extension.service.IService;

/**
 * @Description: material
 * @Author: jeecg-boot
 * @Date:   2020-04-09
 * @Version: V1.0
 */
public interface IMaterialService extends IService<Material> {

	int upDeleteFLag(List<Integer> list);
	
	int insertCompages(Material material,List<Material> materials);
	
	int sale(List<String> materials,BigDecimal bCount);
	
	List<Material> select(@Param("list") List<Integer> list);
	
	
}
